package com.epi.one.basic.animal;

/**
 * @author dxy
 * @version 1.0
 */

public class RedCat extends Cat {
    private String color = "red";
    public RedCat(){

    }

    public RedCat(String name) {
        super(name);
    }

    @Override
    public String toString() {
        return super.toString()+" [color="+color+"]";
    }
    public String getColor() {
        return color;
    }
    public void setColor(String color) {
        this.color = color;
    }
}
